From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 11:03:34 +0700
Subject: prettier

---
 src/pages/my/address/[id]/edit.jsx | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

(limited to 'src/pages/my/address/[id]/edit.jsx')

diff --git a/src/pages/my/address/[id]/edit.jsx b/src/pages/my/address/[id]/edit.jsx
index feff85fd..a7c22147 100644
--- a/src/pages/my/address/[id]/edit.jsx
+++ b/src/pages/my/address/[id]/edit.jsx
@@ -1,10 +1,10 @@
-import AppLayout from "@/core/components/layouts/AppLayout"
-import addressApi from "@/lib/address/api/addressApi"
-import EditAddressComponent from "@/lib/address/components/EditAddress"
+import AppLayout from '@/core/components/layouts/AppLayout'
+import addressApi from '@/lib/address/api/addressApi'
+import EditAddressComponent from '@/lib/address/components/EditAddress'
 
 export default function EditAddress({ id, defaultValues }) {
   return (
-    <AppLayout title="Ubah Alamat">
+    <AppLayout title='Ubah Alamat'>
       <EditAddressComponent id={id} defaultValues={defaultValues} />
     </AppLayout>
   )
@@ -20,11 +20,11 @@ export async function getServerSideProps(context) {
     mobile: address.mobile,
     street: address.street,
     zip: address.zip,
-    city: address.city?.id || "",
-    oldDistrict: address.district?.id || "",
-    district: "",
-    oldSubDistrict: address.subDistrict?.id || "",
-    subDistrict: "",
+    city: address.city?.id || '',
+    oldDistrict: address.district?.id || '',
+    district: '',
+    oldSubDistrict: address.subDistrict?.id || '',
+    subDistrict: ''
   }
   return { props: { id, defaultValues } }
 }
-- 
cgit v1.2.3

